echo "开始编译文件---->"
iverilog -o wave *.v
#iverilog -o wave alu.v ID_EXE.v instMemory.v commonControl.v immPadding.v ID.v IF_ID.v registers.v testcase.v
echo "编译完成"

echo "生成波形文件"
vvp -n wave -lxt2 
cp wave.vcd wave.lxt

echo "打开波形文件"
open wave.vcd